#pragma once

#include "cocos2d.h"
#include "chipmunk.h"

USING_NS_CC;
using namespace std;
using namespace cocos2d;

class CPhiysicsSprite :	public CCSprite
{
public:
	CPhiysicsSprite(void);
	virtual ~CPhiysicsSprite(void);

	void setPhysicsBody(cpBody* body);
	virtual bool isDirty(void);
	virtual CCAffineTransform nodeToParentTransform(void);

private:
	cpBody* m_pBody;
};

